package cn.yr.common.core.domain.dto;

import cn.yr.common.core.domain.entity.SysRole;
import cn.yr.common.core.domain.entity.SysUser;
import lombok.Data;

import java.util.Date;
import java.util.List;
import java.util.Set;

/**
 * @author Lang 1102076808@qq.com
 * @description 用户信息
 * @date 2020-06-21 12:17
 */
@Data
public class SysUserDto {

	private SysUser sysUser;

	private Set<String> perms;

	private List<SysRole> sysRoles;

	private Date expiredDate;

	public SysUserDto(){}

	public SysUserDto(SysUser sysUser){
		this.sysUser = sysUser;
	}
}
